package com.sc.nft.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.AcutionParticipationTypeEnum;
import com.sc.nft.enums.AuctionAdminStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 朱梦晨
 * @Description:
 * @date 2024-09-06
 */
@Data
public class AuctionRecordAdminPageVO {


    /**
     * id
     */
    @ApiModelProperty("id")
    protected Long id;

    @ApiModelProperty("活动名称")
    @NotBlank(message = "活动名称不能为空")
    private String firstTitle;

    @ApiModelProperty(value = "参与门槛类型")
    private AcutionParticipationTypeEnum participationType;

    @ApiModelProperty(value = "参与门槛类型")
    private String participationTypeName;

    @ApiModelProperty(value = "拍卖开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auctionStartTime;

    @ApiModelProperty(value = "拍卖结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auctionEndTime;

    @ApiModelProperty(value = "拍卖状态")
    private AuctionAdminStatusEnum auctionStatus;

    @ApiModelProperty(value = "拍卖状态")
    private String auctionStatusName;

    @ApiModelProperty("商品ID")
    private Long productId;
}
